package com.kingdee.eas.scm.sm.pur;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class PurContractE11Factory
{
    private PurContractE11Factory()
    {
    }
    public static com.kingdee.eas.scm.sm.pur.IPurContractE11 getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.scm.sm.pur.IPurContractE11)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("D2F4BBF2") ,com.kingdee.eas.scm.sm.pur.IPurContractE11.class);
    }
    
    public static com.kingdee.eas.scm.sm.pur.IPurContractE11 getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.scm.sm.pur.IPurContractE11)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("D2F4BBF2") ,com.kingdee.eas.scm.sm.pur.IPurContractE11.class, objectCtx);
    }
    public static com.kingdee.eas.scm.sm.pur.IPurContractE11 getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.scm.sm.pur.IPurContractE11)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("D2F4BBF2"));
    }
    public static com.kingdee.eas.scm.sm.pur.IPurContractE11 getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.scm.sm.pur.IPurContractE11)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("D2F4BBF2"));
    }
}